﻿(function ($) {
    oo('class', {
        _RichText: function () {
            var editor = KindEditor.create('#richText', {
                basePath: '../libs/kindeditor/',
                filePostName: 'attachment',
                uploadJson: 'Attachment.Upload.do',
                fileManagerJson: 'Attachment.GetAll.do',
                allowFileManager: true
            });
        }
    });
})(jQuery);